package com.woniuxy.cashbackcheck.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.cashbackcheck.dto.PageDto;
import com.woniuxy.cashbackcheck.entity.ReviewOrder;
import com.woniuxy.cashbackcheck.service.IReviewOrderService;
import com.woniuxy.response.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zoulaoshi
 * @since 2022-08-24
 */
@RestController
public class ReviewOrderController {
    @Autowired
    IReviewOrderService iReviewOrderService;

    @PostMapping("/revieworder")
    public ResponseResult<IPage<ReviewOrder>> getRevieworder(@RequestBody PageDto<ReviewOrder,ReviewOrder> pageDto){
        ReviewOrder searcheExample = pageDto.getSearcheExample();

        Page<ReviewOrder> page = pageDto.getPage();

        IPage<ReviewOrder> resultPage;


        return new ResponseResult<IPage<ReviewOrder>>();
    }
}
